package com.qf.mapper;

import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @Author ztf
 * @Date 20:13 2022/1/11
 **/
public interface SysRoleMenuMapper {

     /**
      * 根据角色id查询菜单
      * @param roleId
      * @return
      */
     @Select("select menu_id from sys_role_menu where role_id =#{roleid}")
     List<Long> selectMenuIdByRoleId(Long roleId);
}
